<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>MT LOGIN</title>
		<link rel="stylesheet" type="text/css" href="css/application.css"/>
		<script language="JavaScript">
			function checkUser(lang){
				if (f1.txtLogin.value=="mt" && f1.txtPassword.value=="mt"){
					document.getElementById("error").innerHTML = "&nbsp;";
					top.window.document.location.href = "UserConsole.html?locale="+lang;
				}else{
					document.getElementById("error").innerHTML = "Incorrect login/password";
				}
			}
		</script>
	</head>
	<body>
		<br/>
		<div id="error" align="center" style="font:normal normal normal 20px times;color:red">&nbsp;</div>
		<br/>
		<form name="f1" id="f1">
		<table cellSpacing="0" cellPadding="1" align="center" border="0">
			<tr>
				<td>login</td>
				<td><input name="txtLogin" type="text" id="txtLogin" class="btn-bx" size="10" /></td>
			</tr>
			<tr>
				<td>password</td>
				<td><input name="txtPassword" type="password" id="txtPassword" class="btn-bx" size="10" /></td>
			</tr>
			<tr>
				<td align="right" colspan="2">
					<hr color="#000000" noShade SIZE="1">
				</td>
			</tr>
			<tr>
				<td align="right"><input type="button" name="btnLogin" value="English" id="EnLogin" onClick="checkUser('en')" /></td>
				<td align="right"><input type="button" name="btnLogin" value="Русский" id="RuLogin" onClick="checkUser('ru')" /></td>
			</tr>
		</table>
		</form>
	
	</body>
</html>
